package com.managermype.domain;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@SuppressWarnings("serial")
@Repository
public class Role implements Serializable{

	private Integer idRole;
	private String description;//ROLE_XXX
	private String comment;

	@Autowired
	private List<User> myUsers;

	public Integer getIdRole() {
		return idRole;
	}

	public void setIdRole(Integer idRole) {
		this.idRole = idRole;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public List<User> getMyUsers() {
		return myUsers;
	}

	public void setMyUsers(List<User> myUsers) {
		this.myUsers = myUsers;
	}

}
